namespace Tool
{
    public class BaseQueryDto : BaseQuery
    {
        private int page = 1;

        public int Page {
            get {
                if (page > 0)
                {
                    return page;
                }
                return 1;
            }
            set { page = value; }
        }

        private int limit = 10;

        public int Limit {
            get {
                return limit;
            }
            set { limit = value; }
        }
    }

    public class BaseQuery
    {
        ///// <summary>
        ///// 当前登陆人Id
        ///// </summary>
        //public int? CurUserId { get; set; }

        ///// <summary>
        ///// 当前登陆人名
        ///// </summary>
        //public string CurUserName { get; set; }
    }
}